<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0;" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <!-- 是否启用 WebApp 全屏模式，删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <!-- 设置苹果工具栏颜色 -->
    <meta name="apple-mobile-web-app-title" content="">
    <!-- 添加到主屏后的标题（iOS 6 新增） -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <meta name="renderer" content="webkit">
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="HandheldFriendly" content="true">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <link rel="stylesheet" type="text/css" href="__HOME_CSS__/yuying.css" />
    <link rel="stylesheet" type="text/css" href="__HOME_CSS__/tongyong.css"/>
    <script src="__HOME_JS__/jquery.min.js"></script>
    <title>{$data['schoolname']}-{$title}</title>
</head>
<body>
<div class="main">
    <div class="top">
        <h1>{$data['schoolname']}</h1>
    </div>

    <div class="title">
        <h2>{$title}</h2>
        <p class="triangle"></p>
    </div>

    <div class="feedback">
    </div>

    <div class="feed-window">
        <h4>反馈信息</h4>
        <form action="{:U('Home/Index/msgAdd')}" method="post">
            <input  type="hidden" name="sid" value="{$data['sid']}"/>
            <textarea name="content"></textarea>
            <button>提交</button>
            <p class="feed-close">关闭</p>
        </form>
    </div>

    <div class="content">
        <empty name="content">
            {$data['content_facilities']}
            <else />
            {$content}
        </empty>


        <div class="fixed">
            <ul class="fixed-nav">
                <li><a href="{:U('Home/Index/article')}?sid={$data['sid']}">设施情况</a></li>
                <li><a href="{:U('Home/Index/article')}?sid={$data['sid']}&type=1">学校成绩</a></li>
                <li><a href="{:U('Home/Index/article')}?sid={$data['sid']}&type=2">校风学风</a></li>
                <li><a href="{:U('Home/Index/article')}?sid={$data['sid']}&type=3">管理风格</a></li>
                <li class="feed-btn"><a href="#">反馈信息</a></li>
                <li><a href="{:U('Home/Index')}">返回首页</a></li>
            </ul>
            <div class="fix-btn">
                <img src="__HOME_IMAGES__/6.png" width="100%"/>
            </div>
        </div>

        <script type="text/javascript">
            $('.fix-btn').click(function(){
                $('.fixed-nav').toggle();
            });
            $('.feed-btn').click(function(){
                $('.feedback').show();
                $('.feed-window').show();
            })
            $('.feed-close').click(function(){
                $('.feed-window').hide();
                $('.feedback').hide();
            });
        </script>
    </div>
</div>
</body>
</html>
